#ifndef FONTTEXTVIEWMAINWINDOW_H
#define FONTTEXTVIEWMAINWINDOW_H

#include <QMainWindow>
#include <QAction>

namespace Ui {
class FontTextViewMainWindow;
}

class FontTextViewMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit FontTextViewMainWindow(QWidget *parent = nullptr);
    ~FontTextViewMainWindow();

    void load_font_files(QStringList fontFiles);

private slots:
    void on_fontComboBox_currentFontChanged(const QFont &f);

    void stateChanged();

private:
    Ui::FontTextViewMainWindow *ui;
    QAction *action_import_fonts;

private:
    QString test_source_code();
    QStringList source_code_pro_font_files();
    QStringList fira_code_font_files();
    QStringList cascadia_mono_font_files();
    QStringList jetbrains_mono_font_files();

    // QWidget interface
protected:
    void dragEnterEvent(QDragEnterEvent *event) override;
    void dropEvent(QDropEvent *event) override;
};


#endif // FONTTEXTVIEWMAINWINDOW_H
